package com.xdcplus.web.common.pojo.entity.bd;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 物料表(BdMaterial)表实体类
 * 
 * @author Fish.Fei
 * @since 2023-02-02 15:45:47
 */
@Data
@ApiModel(description = "")
@SuppressWarnings("serial")
@TableName("BD_MATERIAL")
public class BdMaterial implements Serializable {
    private static final long serialVersionUID = 675792272254307830L;
            
    @ApiModelProperty("$column.comment")
    private Long id;
            
    @ApiModelProperty("原料编码")
    private String materialCode;
            
    @ApiModelProperty("原料名称")
    private String materialName;
            
    @ApiModelProperty("类型编码")
    private String typeCode;
            
    @ApiModelProperty("物料属性")
    private String materialProperty;
            
    @ApiModelProperty("规格")
    private String spec;
            
    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("供应商ID")
    private Long supplierIdFk;
            
    @ApiModelProperty("供应商编码")
    private String supplierCode;
            
    @ApiModelProperty("描述")
    private String description;
            
    @ApiModelProperty("物料大类(原材料)")
    private String matClass;
            
    @ApiModelProperty("最小包装数量")
    private Long minPkgQty;
            
    @ApiModelProperty("有效周期(天)")
    private String effectiveCycle;
            
    @ApiModelProperty("是否先进先出")
    private Long inOut;
            
    @ApiModelProperty("长(MM)")
    private Long length;
            
    @ApiModelProperty("宽(MM)")
    private Long width;
            
    @ApiModelProperty("高(MM)")
    private Long heigth;
            
    @ApiModelProperty("最小包装重量(KG)")
    private Long unitWeigth;
            
    @ApiModelProperty("延长有效周期(天)")
    private Long extendCycle;
            
    @ApiModelProperty("出库模式")
    private Long outMode;
            
    @ApiModelProperty("批次规则")
    private String batchRule;
            
    @ApiModelProperty("打印模版")
    private String printTemplate;
            
    @ApiModelProperty("创建人")
    private String createdUser;
            
    @ApiModelProperty("创建时间")
    private Timestamp createdTime;
            
    @ApiModelProperty("更新人")
    private String updatedUser;
            
    @ApiModelProperty("更新时间")
    private Timestamp updatedTime;
            
    @ApiModelProperty("类型ID")
    private Long typeIdFk;

    @ApiModelProperty("工艺路线ID")
    private Long pathiIdFk;

    @ApiModelProperty("电池片类型")
    private Long cellType;
}
